#include <gtk/gtk.h>

GtkWidget * window;
GtkWidget * output;
GtkWidget * fixed;

void builder()
{
	// Create main window
	window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	gtk_window_set_title           (GTK_WINDOW   (window), "Example");
	gtk_window_set_resizable       (GTK_WINDOW   (window), FALSE);
	gtk_container_set_border_width (GTK_CONTAINER(window), 3);
	g_signal_connect               (window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
	
	// Create container
	GtkWidget * fixed = gtk_fixed_new();
	gtk_container_add(GTK_CONTAINER(window), fixed);

	// Create widgets
	output = gtk_label_new("text");

	// Set the fucking font for the output to mono holy fucking shit, fuck you ebassi you cunt
	PangoAttrList * attr_list = pango_attr_list_new();
	PangoAttribute * font_attr = pango_attr_font_desc_new(pango_font_description_from_string("monospace"));
	pango_attr_list_insert(attr_list, font_attr);
	gtk_label_set_attributes(GTK_LABEL(output), attr_list);
	pango_attr_list_unref(attr_list);

	gtk_fixed_put(GTK_FIXED(fixed), output, 0, 0);

	gtk_widget_show_all(window);
}
